package zing.main;

import zing.downloader.ZingDownloader;
import zing.downloader.interfaces.IZingDownloader;

public class Main {

    private static IZingDownloader zingDownloader = new ZingDownloader();

    public static void main(String[] args) {
        downloadSongFromArtistListing();
    }

    static void downloadSongFromHotMusic() {
        String url = "http://mp3.zing.vn/bang-xep-hang/bai-hat-Au-My/IWZ9Z0BW.html";
        zingDownloader.downloadFromHotMusic(url);
    }

    static void downloadFromPlayerListing() {
        String url = "http://mp3.zing.vn/album/Hay-Ve-Day-Ben-Anh-Xuan-Hieu/ZWZ97DOB.html";
        zingDownloader.downloadFromPlayerListing(url);
    }

    static void downloadSongFromArtistListing() {
        String url = "http://mp3.zing.vn/nghe-si/Thu-Phuong/bai-hat?p=2";
        zingDownloader.downloadFromArtistListing(url);
    }

}
